@model ExpertSMS.Models.BillOfLadingProduct

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>BillOfLadingProduct</legend>

    <div class="display-label">Quantity</div>
    <div class="display-field">@String.Format("{0:F}", Model.Quantity)</div>

    <div class="display-label">Cost</div>
    <div class="display-field">@String.Format("{0:F}", Model.Cost)</div>

    <div class="display-label">BillOfLading</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.BillOfLading).ToString()</div>

    <div class="display-label">Product</div>
    <div class="display-field">@(Model.Product == null ? "None" : Model.Product.Name)</div>

    <div class="display-label">Unit</div>
    <div class="display-field">@(Model.Unit == null ? "None" : Model.Unit.Name)</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.BillOfLadingProductID }) |
    @Html.ActionLink("Back to List", "Index")
</p>


